package com.hugh.glrpcconsumer.service.impl;

import com.hugh.glrpcconsumer.annotation.GlReference;
import com.hugh.glrpcconsumer.service.ApiUserService;
import com.hugh.service.UserService;
import org.springframework.stereotype.Service;

/**
 * @Author: Hugh
 * @Date: 2020/6/14
 */
@Service
public class ApiUserServiceImpl implements ApiUserService {

    @GlReference
    private UserService userService;

    @Override
    public Object getUserInfo() {
        return userService.sayHello("this is a client message");
    }
}
